﻿using Gp.Scripts.Core;
using Sirenix.OdinInspector;
using UnityEngine;

namespace Gp.Scripts.Data {
    public class SimpleItemEntityConfig : BaseEntityConfigObject {
        [HideLabel]
        [HorizontalGroup("数据"), VerticalGroup("数据/preview")]
        [PreviewField(100, ObjectFieldAlignment.Center)]
        [PropertyOrder(-99)]
        public Sprite icon;


        [VerticalGroup("数据/preview"), HideLabel]
        public string itemName = "New Item";


        [TextArea(10, 30)] [VerticalGroup("数据/preview")] [LabelText("技能描述"), Space(5)]
        public string description = "this is a new skill";


        public override string ItemName { get => this.itemName; set => this.itemName = value; }
        public override string Description { get => this.description; set => this.description = value; }
        public override Sprite Icon { get => this.icon; set => this.icon = value; }
        
        
        
    }
}